Skip to content

patchelf: add patchelf utility #91

Merged
merged 1 commit into from
Aug 17, 2016
Merged

patchelf: add patchelf utility #91

merged 1 commit into from
Aug 17, 2016

Conversation

donald
Copy link
Collaborator

@donald donald commented Aug 17, 2016

PatchELF is a simple utility for modifying existing ELF executables
and libraries. It can change the dynamic loader ("ELF interpreter")
of executables and change the RPATH of executables
and libraries.

syntax: patchelf
  [--set-interpreter FILENAME]
  [--page-size SIZE]
  [--print-interpreter]
  [--print-soname]      Prints 'DT_SONAME' entry of .dynamic section. Raises an error if DT_SONAME doesn't exist
  [--set-soname SONAME]     Sets 'DT_SONAME' entry to SONAME.
  [--set-rpath RPATH]
  [--remove-rpath]
  [--shrink-rpath]
  [--print-rpath]
  [--force-rpath]
  [--add-needed LIBRARY]
  [--remove-needed LIBRARY]
  [--replace-needed LIBRARY NEW_LIBRARY]
  [--print-needed]
  [--no-default-lib]
  [--debug]
  [--version]
  FILENAME

PatchELF  is  a simple utility for modifying existing ELF executables
and libraries. It can change the dynamic loader ("ELF interpreter")
of executables and change the RPATH of executables
and libraries.

syntax: patchelf
  [--set-interpreter FILENAME]
  [--page-size SIZE]
  [--print-interpreter]
  [--print-soname]		Prints 'DT_SONAME' entry of .dynamic section. Raises an error if DT_SONAME doesn't exist
  [--set-soname SONAME]		Sets 'DT_SONAME' entry to SONAME.
  [--set-rpath RPATH]
  [--remove-rpath]
  [--shrink-rpath]
  [--print-rpath]
  [--force-rpath]
  [--add-needed LIBRARY]
  [--remove-needed LIBRARY]
  [--replace-needed LIBRARY NEW_LIBRARY]
  [--print-needed]
  [--no-default-lib]
  [--debug]
  [--version]
  FILENAME
@pmenzel pmenzel merged commit 37a479d into master Aug 17, 2016
@pmenzel pmenzel deleted the patchelf branch August 17, 2016 14:23
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants